'use strict';

stareal
    .controller("NewsListController", function ($scope, $api, $stateParams, $state, $lazyLoader,$timeout) {
        $scope.mypage = 2;
        $scope.listpage= 1;

        var h=$(window).height()-1.1*parseFloat(document.documentElement.style.fontSize)+"px";
        $("#wrapper_container").height(h);
        // 加载对应演出种类的内容
        $scope.newsgoods = new $lazyLoader("app/news/list", {});
        $scope.newsgoods.nextPage();
    });